//
//  GHGiveModel.m
//  GodHorses
//
//  Created by Mac on 2017/11/22.
//  Copyright © 2017年 stoneobs@icloud.com. All rights reserved.
//

#import "GHGiveModel.h"

@implementation GHGiveModel
+ (NSDictionary *)mj_replacedKeyFromPropertyName{
    return @{@"giveID":@"id"};
}
- (NSString *)typeString{
    //1余额2神马钱包3当前神马值4业绩5累计神马值
    NSString * str = @"" ;
    switch (self.type) {
        case 1:
            str = @"余额";
            break;
        case 2:
            str = @"神马钱包";
            break;
        case 3:
            str = @"当前神马值";
            break;
        case 4:
            str = @"业绩";
            break;
        case 5:
            str = @"累计神马值";
            break;
        case 6:
            str = @"神马值";
            break;
        case 7:
            str = @"积分";
            break;
        default:
            break;
    }
    return str;
}
@end
